﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="MovBovespa.aspx.cs" Inherits="NUP.Movimento.MovBovespa" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
    <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" 
            SelectMethod="SelTodos" DeleteMethod="Deletar" InsertMethod="Salvar" UpdateMethod="Atualizar" 
            TypeName="Camadas.MovBovespaBO" DataObjectTypeName="Camadas.MovBovespaTO"></asp:ObjectDataSource>
    
        <br />
        <br />
        
                <asp:GridView ID="GridView3" runat="server" CellPadding="4" 
            DataKeyNames="UId" DataSourceID="ObjectDataSource1" ForeColor="#333333" 
            GridLines="None">
            <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
            <Columns>
                <asp:CommandField ShowDeleteButton="True" ShowEditButton="True" />
            </Columns>
            <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
            <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
            <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
            <EditRowStyle BackColor="#999999" />
            <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
        </asp:GridView>
        
        <br />
        <br />
    </div>
&nbsp;<asp:FormView ID="FormView1" runat="server" CellPadding="4"  DefaultMode="Insert" 
        DataSourceID="ObjectDataSource1" ForeColor="#333333">
        <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
        <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
        <EditItemTemplate>
            UId:
            <asp:TextBox ID="UIdTextBox" runat="server" 
                Text='<%# Bind("UId") %>' />
            <br />
            NumeroDaNota:
            <asp:TextBox ID="NumeroDaNotaTextBox" runat="server" 
                Text='<%# Bind("NumeroDaNota") %>' />
            <br />
            ValorMovLiquido:
            <asp:TextBox ID="ValorMovLiquidoTextBox" runat="server" 
                Text='<%# Bind("ValorMovLiquido") %>' />
            <br />
            ValorCorretagem:
            <asp:TextBox ID="ValorCorretagemTextBox" runat="server" 
                Text='<%# Bind("ValorCorretagem") %>' />
            <br />
            Corretora:
            <asp:TextBox ID="CorretoraTextBox" runat="server" 
                Text='<%# Bind("Corretora") %>' />
            <br />
            Data:
            <asp:TextBox ID="DataTextBox" runat="server" 
                Text='<%# Bind("Data") %>' />
            <br />
            ItensBovespa:
            <asp:TextBox ID="ItensBovespaTextBox" runat="server" 
                Text='<%# Bind("ItensBovespa") %>' />
            <br />
            ISS:
            <asp:TextBox ID="ISSTextBox" runat="server" 
                Text='<%# Bind("ISS") %>' />
            <br />
            Emulandos:
            <asp:TextBox ID="EmulandosTextBox" runat="server" 
                Text='<%# Bind("Emulandos") %>' />
            <br />
            TaxaDeLiquidacao:
            <asp:TextBox ID="TaxaDeLiquidacaoTextBox" runat="server" 
                Text='<%# Bind("TaxaDeLiquidacao") %>' />
            <br />
            ValorTotal:
            <asp:TextBox ID="ValorTotalTextBox" runat="server" 
                Text='<%# Bind("ValorTotal") %>' />
            <br />
            <asp:LinkButton ID="UpdateButton" runat="server" CausesValidation="True" 
                CommandName="Update" Text="Update" />
            &nbsp;<asp:LinkButton ID="UpdateCancelButton" runat="server" 
                CausesValidation="False" CommandName="Cancel" Text="Cancel" />
        </EditItemTemplate>
        <InsertItemTemplate>
            NumeroDaNota:
            <asp:TextBox ID="NumeroDaNotaTextBox" runat="server" 
                Text='<%# Bind("NumeroDaNota") %>' />
            <br />
            ValorMovLiquido:
            <asp:TextBox ID="ValorMovLiquidoTextBox" runat="server" 
                Text='<%# Bind("ValorMovLiquido") %>' />
            <br />
            ValorCorretagem:
            <asp:TextBox ID="ValorCorretagemTextBox" runat="server" 
                Text='<%# Bind("ValorCorretagem") %>' />
            &nbsp;<br />
            Data:<br />
&nbsp;<asp:Calendar ID="Calendar1" runat="server" BackColor="White" BorderColor="#999999" 
                CellPadding="4" DayNameFormat="Shortest" Font-Names="Verdana" Font-Size="8pt" 
                ForeColor="Black" Height="180px" SelectedDate='<%# Bind("Data") %>' 
                Width="200px">
                <SelectedDayStyle BackColor="#666666" Font-Bold="True" ForeColor="White" />
                <SelectorStyle BackColor="#CCCCCC" />
                <WeekendDayStyle BackColor="#FFFFCC" />
                <TodayDayStyle BackColor="#CCCCCC" ForeColor="Black" />
                <OtherMonthDayStyle ForeColor="#808080" />
                <NextPrevStyle VerticalAlign="Bottom" />
                <DayHeaderStyle BackColor="#CCCCCC" Font-Bold="True" Font-Size="7pt" />
                <TitleStyle BackColor="#999999" BorderColor="Black" Font-Bold="True" />
            </asp:Calendar>
            <br />
            ISS:
            <asp:TextBox ID="ISSTextBox" runat="server" Text='<%# Bind("ISS") %>' />
            <br />
            Emulandos:
            <asp:TextBox ID="EmulandosTextBox" runat="server" 
                Text='<%# Bind("Emulandos") %>' />
            <br />
            TaxaDeLiquidacao:
            <asp:TextBox ID="TaxaDeLiquidacaoTextBox" runat="server" 
                Text='<%# Bind("TaxaDeLiquidacao") %>' />
            <br />
            <asp:LinkButton ID="InsertButton" runat="server" CausesValidation="True" 
                CommandName="Insert" Text="Insert" />
            &nbsp;<asp:LinkButton ID="InsertCancelButton" runat="server" 
                CausesValidation="False" CommandName="Cancel" Text="Cancel" />
        </InsertItemTemplate>
        <ItemTemplate>
            UId:
            <asp:Label ID="UIdLabel" runat="server" 
                Text='<%# Bind("UId") %>' />
            <br />
            NumeroDaNota:
            <asp:Label ID="NumeroDaNotaLabel" runat="server" 
                Text='<%# Bind("NumeroDaNota") %>' />
            <br />
            ValorMovLiquido:
            <asp:Label ID="ValorMovLiquidoLabel" runat="server" 
                Text='<%# Bind("ValorMovLiquido") %>' />
            <br />
            ValorCorretagem:
            <asp:Label ID="ValorCorretagemLabel" runat="server" 
                Text='<%# Bind("ValorCorretagem") %>' />
            &nbsp;<br />
            Data:
            <asp:Label ID="DataLabel" runat="server" 
                Text='<%# Bind("Data") %>' />
            &nbsp;<br />
            ISS:
            <asp:Label ID="ISSLabel" runat="server" Text='<%# Bind("ISS") %>' />
            <br />
            Emulandos:
            <asp:Label ID="EmulandosLabel" runat="server" Text='<%# Bind("Emulandos") %>' />
            <br />
            TaxaDeLiquidacao:
            <asp:Label ID="TaxaDeLiquidacaoLabel" runat="server" 
                Text='<%# Bind("TaxaDeLiquidacao") %>' />
            <br />
            ValorTotal:
            <asp:Label ID="ValorTotalLabel" runat="server" 
                Text='<%# Bind("ValorTotal") %>' />
            <br />
            <asp:LinkButton ID="EditButton" runat="server" CausesValidation="False" 
                CommandName="Edit" Text="Edit" />
            &nbsp;<asp:LinkButton ID="DeleteButton" runat="server" CausesValidation="False" 
                CommandName="Delete" Text="Delete" />
            &nbsp;<asp:LinkButton ID="NewButton" runat="server" CausesValidation="False" 
                CommandName="New" Text="New" />
        </ItemTemplate>
        <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
        <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
        <EditRowStyle BackColor="#999999" />
    </asp:FormView>
    </form>

</body>
</html>
